package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;


/**
 * The persistent class for the per_pms_dis database table.
 * 
 */
@Entity
@Table(name="per_pms_dis")
@NamedQuery(name="PerPmsDis.findAll", query="SELECT p FROM PerPmsDis p")
public class PerPmsDis implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int disid;

	private Timestamp distime;

	private String disyy;

	private String diszt;

	//bi-directional many-to-one association to PerPmsDept
	@ManyToOne
	@JoinColumn(name="DEPTID")
	private PerPmsDept perPmsDept;

	//bi-directional many-to-one association to PerPmsEmp
	@ManyToOne
	@JoinColumn(name="EMPID")
	private PerPmsEmp perPmsEmp;

	public PerPmsDis() {
	}

	public int getDisid() {
		return this.disid;
	}

	public void setDisid(int disid) {
		this.disid = disid;
	}

	public Timestamp getDistime() {
		return this.distime;
	}

	public void setDistime(Timestamp distime) {
		this.distime = distime;
	}

	public String getDisyy() {
		return this.disyy;
	}

	public void setDisyy(String disyy) {
		this.disyy = disyy;
	}

	public String getDiszt() {
		return this.diszt;
	}

	public void setDiszt(String diszt) {
		this.diszt = diszt;
	}

	public PerPmsDept getPerPmsDept() {
		return this.perPmsDept;
	}

	public void setPerPmsDept(PerPmsDept perPmsDept) {
		this.perPmsDept = perPmsDept;
	}

	public PerPmsEmp getPerPmsEmp() {
		return this.perPmsEmp;
	}

	public void setPerPmsEmp(PerPmsEmp perPmsEmp) {
		this.perPmsEmp = perPmsEmp;
	}

}